<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
</head>
<body>
<div id="app">
    <div class="text">
        <h1>
            用户登录
        </h1>
    </div>
    <div class="form">
        <el-input v-model="input" placeholder="请输入内容"></el-input>
        <br><br><br>
        <el-input placeholder="请输入密码" v-model="pwd" show-password></el-input>
    </div>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<!-- import JavaScript -->

<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script>
    new Vue({
        el: '#app',
        data: function () {
            return {
                visible: false,
                input: '',
                pwd: ''

            }

        }

    })
</script>
<style>
    .form {
        /*background-color: green;*/
        width: 20%;
        margin: 0 auto
    }

    .text {
        margin: 0 auto
    }
</style>
</html>